package com.csun.cmny.provider.service;

import com.csun.cmny.core.support.IService;
import com.csun.cmny.provider.model.domain.DmcPatrolPointLocation;
import com.csun.cmny.provider.model.dto.patrol.PatrolPointPageQuery;
import com.csun.cmny.provider.model.dto.propertyManagement.SelectDeviceDataDto;
import com.csun.cmny.provider.model.vo.propertyManagement.PropertyDataVo;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * @Auther: chisj chisj@foxmal.com
 * @Date: 2021/7/22 9:12
 * @Description: 巡更点绑定位置接口
 */
public interface DmcPatrolPointLocationService extends IService<DmcPatrolPointLocation> {
    /*
     * 巡更点的分页查询
     * */
    PageInfo queryDeviceListWithPage(PatrolPointPageQuery patrolPointPageQuery);
    /*
     * 绑定巡更点
     * */
    Integer patrolPointBind(DmcPatrolPointLocation dmcPatrolPointLocation);
    /*
    * 查询该床位是否绑定
    * */
    DmcPatrolPointLocation selectByBedId(Integer bedId,Integer roomId);
    /*
    * 运营平台设备可视化查询
    * */
    List<PropertyDataVo> selectDeviceData(SelectDeviceDataDto selectDeviceDataDto);
}
